﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework;

namespace Tanks
{
    class Background : IFieldObject
    {
        public Background(Texture2D _tex,  Game1 game) : base(game, new PropertiesObject(), _tex)
        {            
            position.X = 0;
            position.Y = 0;
        }

        public override float getActualRotation()
        {
            return rotation;
        }
        public override Vector2 getActualPosition()
        {
            return position;
        }
        public override Vector2[] getActualBoards()
        {
            return null;
        }
        public override void Update(GameTime gameTime)
        {
        }
        public override void Draw()
        {
            game.SpriteBatch.Draw(texture, position, Color.White);
        }
        public override Vector2[] getBoards()
        {
            return null;
        }
        public override void collisionNotFounded()
        {
        }
        public override void collisionRotNotFounded()
        {
        }
        public override void collisionFounded(IFieldObject two)
        {
            
        }
    }
}
